package com.cygsunri.wind.config;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class WindCurveConfig {
    private String beginTime = "00:00";

    private String endTime = "23:59";

    public String buildBeginTime(String date) {
        return date.trim() + " " + beginTime.trim();
    }

    public String buildEndTime(String date) {
        return date.trim() + " " + endTime.trim();
    }
}
